//
// Created by tacom on 2024/9/26.
//

#ifndef PICO_DEVICE_SLAVE_IO_HELPER_H
#define PICO_DEVICE_SLAVE_IO_HELPER_H

#include "pico/stdlib.h"

// GP20, ask spi master to receive data
#define SPI_ASK_RECEIVE_PIN 20

#ifdef __cplusplus
extern "C" {
#endif

void helper_io_init();

// ask host to get data signal
void set_ask_pin_level(bool level);
// debug led
void led_blink();

#ifdef __cplusplus
}
#endif

#endif //PICO_DEVICE_SLAVE_IO_HELPER_H
